using System;
using System.Diagnostics.CodeAnalysis;
using System.Web.UI;
using iPhOwa.Exchange;

namespace iPhOwa.Web.Controls
{
	/// <summary>
	/// Base class for controls that display folder content.
	/// </summary>
	[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "i"), SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Ph")]
	[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Owa")]
	public class iPhOwaControl : UserControl
	{
		private OwaSession owaSession;
		private Uri path;

		/// <summary>
		/// Folder path.
		/// </summary>
		public Uri Path
		{
			get { return path; }
			set { path = value; }
		}

		/// <summary>
		/// The current session.
		/// </summary>
		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Owa")]
		public OwaSession OwaSession
		{
			get { return owaSession; }
			set { owaSession = value; }
		}
	}
}